[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MAXNODE() (INTEGER)

 Function
  Determine how many nodes a system may have.

 Syntax
  MAXNODE()   No arguments are required

 Return Type & Value
  INTEGER
  Returns the node limit available to the system running the PPE file.

 Remarks
  Every package of PCBoard purchased comes with a license agreement that
  limits it to a maximum number of nodes.  This node limit restricts
  various features of PCBoard, such as the WHO display and CHAT functions.
  This limit is available to your PPL applications via this function.

 Examples
  INTEGER i
  FOR i = 1 TO MAXNODE()
    RDUNET i
    IF ((UN_STAT() = "A") | (UN_STAT() = "U")) THEN
      BROADCAST i,i,"Hello, how are you?"
      IF (PCBNODE() = i) PRINLN "Quit talking to yourself"
    ENDIF
  NEXT

See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson